package com.teacher.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.teacher.pojo.dto.absentactivities.AbsentActivitiesGetDto;
import com.teacher.pojo.entity.AbsentActivities;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.teacher.pojo.vo.absentactivities.AbsentActivitiesGetVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 班级活动缺席 Mapper 接口
 * </p>
 *
 * @author zfm
 * @since 2021-08-17
 */
public interface AbsentActivitiesMapper extends BaseMapper<AbsentActivities> {

    /**
     * 查询班级活动缺席
     *
     * @param page
     * @param dto
     * @return
     */
    IPage<AbsentActivitiesGetVo> getPage(@Param("page") Page<AbsentActivitiesGetVo> page, @Param("dto") AbsentActivitiesGetDto dto);
}
